import formBuilder from "@/comps/form/formBuilder";
import apiStudent from "@/pages/v1/study/Student/js/apiStudent";
import apiSubject from "@/pages/v1/study/Subject/js/apiSubject";
import apiGrade from "@/pages/v1/study/Grade/js/apiGrade";

export default function () {
    let fb = formBuilder()
    fb.setLabelPosition("right").setLabelWidth(100)

    fb.addSelect("studentId","学生",2)
        .setApi(apiStudent.urlChoice)

    fb.addSelect("point.subjectId","学科",2)
        .setApi(apiSubject.urlChoice)

    fb.addSelect("point.gradeId","年级",2)
        .setApi(apiGrade.urlChoice)

    return fb
}